﻿/*
 * Created by SharpDevelop.
 * User: rogerio
 * Date: 5/2/2010
 * Time: 8:49
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Drawing;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;

namespace csharp.common
{
	/// <summary>
	/// Description of frmSearchTemplate.
	/// </summary>
	public partial class SearchTemplate : KryptonForm
	{
		public SearchTemplate()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
			
			//
			// TODO: Add constructor code after the InitializeComponent() call.
			//
		}
		
		#region virtual method's
		protected virtual void exit()
		{
			this.Close();
		}
		
		/// <summary>
		/// Method call in initialization
		/// </summary>
		protected virtual void init()
		{
		
		}	
		
		protected virtual void fillDataGridView()
		{
			
		}
		
		protected virtual void edit()
		{
			
		}
		#endregion
		
		private void BtnExitClick(object sender, EventArgs e)
		{
			exit();
		}
		
		private void SearchTemplateLoad(object sender, EventArgs e)
		{
			init();
		}
		
		private void BtnEditClick(object sender, EventArgs e)
		{
			edit();
		}
	}
}
